package io.renren.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

/**
 * @author  lj
 * @date  2021/5/10 16:51
 * @email milolj@foxmail.com
 */

/**
 * 买家收货表
 */
@ApiModel(value = "io-renren-modules-shop-entity-GoodsUserPosition")
@Data
@TableName(value = "goods_user_position")
public class GoodsUserPosition implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "pid", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer pid;

    /**
     * 创建人
     */
    @TableField(value = "openid")
    @ApiModelProperty(value = "创建人")
    private String openid;

    /**
     * 联系电话
     */
    @TableField(value = "p_tel")
    @ApiModelProperty(value = "联系电话")
    private String pTel;

    /**
     * 送货位置
     */
    @TableField(value = "p_place")
    @ApiModelProperty(value = "送货位置")
    private String pPlace;

    /**
     * 是否设置为默认地址
     */
    @TableField(value = "p_type")
    @ApiModelProperty(value = "是否设置为默认地址")
    private Integer pType;

}
